"use strict";
const path = require("path");
const alias = require('./alias.config');
 
function resolve(dir) {
  return path.join(__dirname, dir);
}
 
const name = "sniper";
 
module.exports = {
  lintOnSave: process.env.NODE_ENV === "development",
  // 路径别名
  configureWebpack: {
    name: name,
    resolve: {
	  alias: alias
    }
  },
  pages: {
  	index: {
  		entry: './test.js'
  	}
  }
};